import request from '@/utils/request'

// 大屏上方：企业诚信排行榜
export const getEnterpriseRanking = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/goodFaithManage/query/goodFaithManageRanking',
    params: params,
  })
}

// 大屏上方：获取企业诚信排行榜 排行类型
export const getRankingType = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/goodFaithManage/query/getRankingType',
    params: params,
  })
}

// 大屏下左：企业诚信评价公示
export const getEnterpriseCreditEvaluation = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/goodFaithManage/query/goodFaithManagePublicity',
    params: params,
  })
}

// 大屏下右方：失信记录时间趋势
export const getTimeTrend = (params) => {
  return request({
    method: 'get',
    url: '/system/screen/goodFaithManage/query/dishonestyTimeTrend',
    params: params,
  })
}
